package net.monare.mifss.admin.ui;

import net.monare.mifss.MifssMessages;

import com.vaadin.navigator.View;
import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent;
import com.vaadin.ui.Label;
import com.vaadin.ui.VerticalLayout;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope("prototype")
public class LogoutView extends VerticalLayout implements View {

	private static final long serialVersionUID = -7513999156886617338L;

	public LogoutView() {
		
		Label msg = new Label(MifssMessages.getMessage("sys.message.user.logout"));
		addComponent(msg);
		
	}

	@Override
	public void enter(ViewChangeEvent event) {
	}

}
